package com.caow.baselibrary

import android.app.Application
import com.caow.baselibrary.utils.LogUtils

/**
 * @Author caow
 * 2022/11/24
 */
object GlobalConfig {

    var DEBUG = false
    var baseUrl = ""

    lateinit var app: Application

    fun init(app: Application, debug: Boolean, baseUrl: String, showLog: Boolean = debug) {
        this.app = app
        DEBUG = debug
        LogUtils.showLog = showLog
        this.baseUrl = baseUrl
    }

}